package com.rd.student.jiaji.class1.jinhongyu.day0802;

public abstract class Animal {

    String name;

    public Animal(String name) {
        this.name = name;
    }

    abstract void voice();

    abstract void enjoy();
}
